module.exports = {
    css: {
        loaderOptions: {
            less: {
                javascriptEnabled: true
            }
        }
    },
    // entry: {
    //     app: ['babel-polyfill', '../src/main.js'],
    // },
    publicPath: './', // 解决资源路径问题
    devServer: {
        hot: true,
        /*关闭热更新*/
        inline: false,
        proxy: {
            '/proxy': {
                // '/lt': {
                ws: true,
                changeOrigin: true,
                // target: 'http://47.111.171.69:10000',
                // target: 'http://192.168.71.114:10000',
                target: 'http://localhost:10001',
                // target: 'http://120.50.251.49:81',
                // target: 'http://192.168.0.147:10000',
                // target: 'localhost:10000',
                pathRewrite: { '^/proxy': '/' }
            },
        },
    },

}